package com.dfbz.anno;

import java.lang.annotation.*;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
@Target({
        ElementType.TYPE,
        ElementType.METHOD,
        ElementType.CONSTRUCTOR,
        ElementType.FIELD
})
@Retention(RetentionPolicy.RUNTIME)     // 允许当前注解被继承
@Inherited
public @interface Computer {
    String value();

    double price() default 2000.0D;

    String[] factories();
}
